

import play.GlobalSettings;
import play.mvc.Http.RequestHeader;
import play.mvc.Result;
import play.mvc.Results;

public class Global extends GlobalSettings {

	@Override
	public Result onError(RequestHeader request, Throwable t) {

		return Results.internalServerError(t.getMessage());
	}
}
